﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MezmurStore2.Models
{
    public class Track
    {
        private string _name;
        private string _artistName;
        public Guid Id { get; set; }
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                if (value != null)
                {
                    _name = value.Trim();
                }
            }
        }

        public long FileSize { get; set; }
        public string FilePath { get; set; }
        public string ArtistName
        {
            get
            {
                return _artistName;
            }
            set
            {
                if (value != null)
                {
                    _artistName = value.Trim();
                }
            }
        }
    }
}
